[INFO] cloning repository https://github.com/Xin-coder/os
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xin-coder/os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXin-coder%2Fos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXin-coder%2Fos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c4f1599d6752527614131258313c19f10ed02d2
[INFO] checking Xin-coder/os against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXin-coder%2Fos" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Xin-coder/os on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/Xin-coder/os
[INFO] removed path dependency riscv from git repo https://github.com/Xin-coder/os
[INFO] finished tweaking git repo https://github.com/Xin-coder/os
[INFO] tweaked toml for git repo https://github.com/Xin-coder/os written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Xin-coder/os already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (riscv) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (riscv) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bit_field v0.10.1
[INFO] [stderr]   Downloaded riscv-target v0.1.2
[INFO] [stderr]   Downloaded riscv v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f60f2206df465929db8df9373acdef377ac038a79deff5c32f61c9a291a88274
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f60f2206df465929db8df9373acdef377ac038a79deff5c32f61c9a291a88274", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f60f2206df465929db8df9373acdef377ac038a79deff5c32f61c9a291a88274", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f60f2206df465929db8df9373acdef377ac038a79deff5c32f61c9a291a88274", kill_on_drop: false }`
[INFO] [stdout] f60f2206df465929db8df9373acdef377ac038a79deff5c32f61c9a291a88274
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 20de3c7e65b3fa069348ffe365d8e9549ba0d94f4f887520dc17295ba179d4a5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "20de3c7e65b3fa069348ffe365d8e9549ba0d94f4f887520dc17295ba179d4a5", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (riscv) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling riscv-target v0.1.2
[INFO] [stderr]    Compiling riscv v0.6.0
[INFO] [stderr]     Checking os v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]   --> src/lib/sbi.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |           asm!("ecall"
[INFO] [stdout]    |           ^---
[INFO] [stdout]    |           |
[INFO] [stdout]    |  _________help: replace with: `llvm_asm!`
[INFO] [stdout]    | |
[INFO] [stdout] 12 | |             : "={x10}" (ret)
[INFO] [stdout] 13 | |             : "{x10}" (arg0), "{x11}" (arg1), "{x12}" (arg2), "{x17}" (which)
[INFO] [stdout] 14 | |             : "memory"      // 如果汇编可能改变内存，则需要加入 memory 选项
[INFO] [stdout] 15 | |             : "volatile");  // 防止编译器做激进的优化（如调换指令顺序等破坏 SBI 调用行为的优化）
[INFO] [stdout]    | |__________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]    = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]   --> src/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         asm!("ebreak"::::"volatile");
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: replace with: `llvm_asm!`
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]    = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self`, `sepc`
[INFO] [stdout]  --> src/lib/interrupt.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |         self,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     sepc,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]   --> src/lib/sbi.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |           asm!("ecall"
[INFO] [stdout]    |           ^---
[INFO] [stdout]    |           |
[INFO] [stdout]    |  _________help: replace with: `llvm_asm!`
[INFO] [stdout]    | |
[INFO] [stdout] 12 | |             : "={x10}" (ret)
[INFO] [stdout] 13 | |             : "{x10}" (arg0), "{x11}" (arg1), "{x12}" (arg2), "{x17}" (which)
[INFO] [stdout] 14 | |             : "memory"      // 如果汇编可能改变内存，则需要加入 memory 选项
[INFO] [stdout] 15 | |             : "volatile");  // 防止编译器做激进的优化（如调换指令顺序等破坏 SBI 调用行为的优化）
[INFO] [stdout]    | |__________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]    = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]   --> src/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         asm!("ebreak"::::"volatile");
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: replace with: `llvm_asm!`
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]    = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `os`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `self`, `sepc`
[INFO] [stdout]  --> src/lib/interrupt.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |         self,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     sepc,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]  --> src/lib/panic.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn panic_handler(info: &PanicInfo) -> ! {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]   = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/72f88fc4e9458f89516a0b8b0868f3718aec5b47/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-faa3fd6c69b73b7d.rlib
[INFO] [stdout]   = note: second definition in the local crate (`os`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "20de3c7e65b3fa069348ffe365d8e9549ba0d94f4f887520dc17295ba179d4a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20de3c7e65b3fa069348ffe365d8e9549ba0d94f4f887520dc17295ba179d4a5", kill_on_drop: false }`
[INFO] [stdout] 20de3c7e65b3fa069348ffe365d8e9549ba0d94f4f887520dc17295ba179d4a5
